<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>显示友情链接</title>
<css file='__PUBLIC__/css/base.css' />
<jquery />
<js file='__PUBLIC__/js/iframe.js' />
</head>
<body>
	<div class='now_path'>
		<strong>您现在的位置是:</strong>
		<a href='#'>友情链接管理</a>
	</div>
	<div class="send1">
        <a href="__CONTROL__/links_add_show" target="con" class="current button1">添加友情链接</a>
    </div>
		<form action='__CONTROL__/links_sort' method='post'>
		<table class="table1">
			<thead>
				<tr>
					<td width="30">排序</td>
					<td width="30">ID</td>
					<td>名称</td>
					<td width="160">url地址</td>
					<td width="60">logo</td>
					<td width="100">增加时间</td>
					<td width="150">说明msg</td>
					<td width="60">状态</td>
					<td width="230">操作</td>
				</tr>
			</thead>
			<tbody>
				<foreach from='$links' value='$v'>
				<tr>
					
					<td width="30"><input type='text' size='4' value='{$v.sort}' name='sort[{$v.fid}]' style='height:16px;'/></td>
					<td width="30">{$v.fid}</td>
					<td width='160'>{$v.fname}</td>
					<td width="300">{$v.url}</td>
					<td width="120"><empty value='$v.logo'>没有logo<noempty /><img src='__ROOT__/upload/links/img/{$v.logo}' /></empty></empty></td>
					<td width="100">{$v.addtime|date:"Y-m-d",@@}</td>
					<td width="150">{$v.msg}</td>
					<td width="60">
						<if value='$v.stat eq 1'>
							公开
						<else />
							关闭
						</if>
					</td>
					<td width="80">
						<a href='__CONTROL__/links_modify/fid/{$v.fid}'>修改</a>
						<a href='__CONTROL__/links_del/fid/{$v.fid}'>删除</a>
					</td>
				</tr>
				</foreach>
			</tbody>  
		</table>
		<div class="send2 l">
			<input type='submit' class='button2' value='排序'/>
		</div>
	</form>
	<div class="page r" style="margin-top:10px;"></div>
</body>
</html>
</body>
</html>